]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Revert "keyboardManager: Update layout index before keymap"
authorSebastian Keller <skeller@gnome.org>
Tue, 28 Oct 2025 23:09:50 +0000 (00:09 +0100)
committerSebastian Keller <skeller@gnome.org>
Tue, 28 Oct 2025 23:12:54 +0000 (00:12 +0100)
This reverts commit f643915b32fbc116ec09572276af645300589764.

This is not needed anymore now that e8d73262 has been reverted and it
was causing problems in X11 sessions, such as when switching from the
4th layout to the 3rd using the keyboard layout menu.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3939>

js/misc/keyboardManager.js

index 37b4f29bfdccdff6d6fbcea117ca0c8c11cc2d1d..2ecc8facc08d1108702c210f427dd9aba7a320f9 100644 (file)
@@ -76,8 +76,8 @@ class KeyboardManager {
     }
 
     async _doApply(info) {
-        await this._applyLayoutGroupIndex(info.groupIndex);
         await this._applyLayoutGroup(info.group);
+        await this._applyLayoutGroupIndex(info.groupIndex);
     }
 
     apply(id) {